home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / shell2 / dino2.iPSC1.example < prev    next >
Encoding:
Text File  |  1991-03-10  |  2.2 KB  |  57 lines

  1.  
  2. # Copyright, 1990, Regents of the University of Colorado
  3. #
  4. #  This is a Bourne shell script that sets up the compilation and
  5. #  linking parameters for a plain vanilla iPSC1.
  6. #
  7. #  There are eight environment variables that are set:
  8. #
  9. #     Dhostccopt -- the options used by the C compiler in compiling
  10. #                   the host file.
  11. #
  12. #     Dhostlnopt -- the options used by the C compiler in linking the
  13. #                   host file.  This is empty in the iPSC2 and i860
  14. #                   examples.
  15. #
  16. #     Dhostlibs  -- the libraries that the linker needs for the host
  17. #                   file.  One of these is the host version of the
  18. #                   DINO library (that one should be first).
  19. #
  20. #     Dnodelinkcmd -- The program used to link any node files.  On the
  21. #                   iPSC1, this is "ld".  On both iPSC2 versions, it
  22. #                   is "cc".
  23. #
  24. #     Dnodeccopt -- the options used by the C compiler in compiling
  25. #                   any node files.
  26. #
  27. #     Dhostlnopt -- the options used by the C compiler in linking any
  28. #                   node files.  This is empty in the iPSC2 and i860
  29. #                   examples.
  30. #
  31. #     Dnodemdls  -- Additional ".o" modules that must be linked with
  32. #                   any node files.  These are placed in front of the
  33. #                   ".o" file generated by the node compilation step.
  34. #                   (The iPSC1 requires this, it is empty on both
  35. #                   iPSC2 versions.)
  36. #
  37. #     Dnodelibs  -- the libraries that the linker needs for any node
  38. #                   files.  One of these is the node version of the
  39. #                   DINO library (that one should be first).
  40. #
  41.  
  42.         Dhostccopt="-Alhu -DD_MACH=D_CUBE"
  43.         Dhostlnopt="-Mh -F 8000"
  44.         Dhostlibs="${Dhome}/lib/${ARCHTYPE}/D_host1.a \
  45.                    /usr/ipsc/lib/chost.a \
  46.                    -lm -lx"
  47.         Dnodelinkcmd=ld
  48.         Dnodeccopt="-Alfu -DD_MACH=D_CUBE -K"
  49.         Dnodelnopt="-Ml -F FFF0"
  50.         Dnodemdls="/usr/ipsc/lib/Lcrtn0.o \
  51.                    /lib/Lseg.o"
  52.         Dnodelibs="${Dhome}/lib/${ARCHTYPE}/D_node1.a \
  53.                    /usr/ipsc/lib/Llibcnode.a \
  54.                    /usr/ipsc/lib/Llibmnode.a \
  55.                    -lm"
  56.  
  57.